if (SERVER) then
	AddCSLuaFile("shared.lua");
end;

if (CLIENT) then
	SWEP.PrintName			= "Combine Standard Issued Pistol";
	SWEP.Slot				= 2;
	SWEP.SlotPos			= 1;
	SWEP.IconLetter			= "b";
	
	SWEP.ViewModelFOV		= 65;
	SWEP.ViewModelFlip		= false;
end;

SWEP.Base				= "leaf_weapon_base";

SWEP.AdminSpawnable		= true;

SWEP.WorldModel 		= Model("models/weapons/w_pistol.mdl");
SWEP.ViewModel 			= Model("models/weapons/v_pistol.mdl");

SWEP.Weight				= 5;
SWEP.AutoSwitchTo		= false;
SWEP.AutoSwitchFrom		= false;

SWEP.ReloadSound			= Sound("Weapon_Pistol.Reload");
SWEP.Primary.Sound			= Sound("Weapon_Pistol.Single");
SWEP.Primary.Recoil			= 0.5;
SWEP.Primary.Damage			= 7;
SWEP.Primary.NumShots		= 1;
SWEP.Primary.Cone			= 0.05;
SWEP.Primary.ClipSize		= 12;
SWEP.Primary.Delay			= 0.05;
SWEP.Primary.DefaultClip	= 12;
SWEP.Primary.Automatic		= false;
SWEP.Primary.Ammo			= "pistol";

SWEP.Secondary.ClipSize		= -1;
SWEP.Secondary.DefaultClip	= -1;
SWEP.Secondary.Automatic	= false;
SWEP.Secondary.Ammo			= "none";

SWEP.IronSightPos = Vector(-5.6768, -11.6149, 3.6184);
SWEP.IronSightAng = Vector(1.2719, -0.9201, 1.9095);

SWEP.HolsteredPos = Vector(0.4677, -7.4918, 4.1153);
SWEP.HolsteredAng = Vector(-18.5693, 2.253, 1.44);

SWEP.HoldType = "pistol";